-
-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apple/t2: init #650
apple/t2: init #650
Conversation
apple/t2/default.nix
Outdated
powerManagement = { | ||
powerUpCommands = "${pkgs.kmod}/bin/modprobe apple_touchbar"; | ||
powerDownCommands = "${pkgs.kmod}/bin/rmmod apple_touchbar"; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's potentially racy to remove kernel modules this way:
serviceConfig.ExecStart = ''${pkgs.systemd}/bin/systemd-inhibit --what=sleep --why="fixing touchpad must finish before sleep" --mode=delay ${./fix_touchpad.sh}''; |
also read here: fed22c2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about the changes?
98eaa5f
to
3d1af7f
Compare
3d1af7f
to
320de20
Compare
Co-authored-by: networkException <[email protected]>
320de20
to
8e28b9e
Compare
bors merge |
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page.
|
I upstreamed their changes in NixOS/nixos-hardware#650
Description of changes
This pull request adds all changes from https://github.com/kekrby/nixos-hardware as well as an update to the most recent kernel and a fix for keyboard backlight not working after suspend, making Apple Intel Macs with the T2 security chip quite usable overall.
Things done
nixos-hardware
andimporting it via
<nixos-hardware>
or Flake input